package com.etc.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.etc.dao.AdminMapper;
import com.etc.entity.Admin;
import com.etc.service.AdminService;
@Service
public class AdminServiceImpl implements AdminService {

	@Autowired
	private AdminMapper adminMapper;
	
	@Override
	public Admin checkAdminByAname(String aname) {
		
		return adminMapper.selectAdminByAname(aname);
	}

}
